package com.dp.factory.abstract_factory.factory;

import com.dp.factory.abstract_factory.product.AbstractFreezer;
import com.dp.factory.abstract_factory.product.AbstractTV;
import com.dp.factory.abstract_factory.product.HairFreezer;
import com.dp.factory.abstract_factory.product.HairTV;

/**
 * @Author: Ruomeng
 * @Date: 2024/11/26
 * @Description : design-pattern
 * @Version: 1.0
 */
public class HairFactory implements AppliancesFactory {

    @Override
    public AbstractTV createTV() {
        return new HairTV();
    }

    @Override
    public AbstractFreezer createFreezer() {
        return new HairFreezer();
    }
}
